#ifndef COMMON_H
#define COMMON_H

#define cuCall(func,msg)\
	if(CUresult __res = func) {\
		printf(msg ": %d\n", __res);\
		exit(-1);\
	}

const int BASE_BASE = 10;
const int BASE = 10 * 10 * 10 * 10;
const int DIGS = 4;

#endif // COMMON_H
